@import 'antd/es/style/themes/default.less';
.sider {
  position: relative;

  box-sizing: border-box;
  height: 100%;
  padding-top: 64px;
  border-right: 1px solid #efefef;
  &::before {
    position: absolute;
    top: 54px;
    left: 0;
    right: -15px;
    bottom: 0;
    content: '';
    background: url('@img/modify/left-bg.png') no-repeat;
    background-size: 100% 100%;
  }
  :global {
    .mock-vertical-track {
      z-index: 1;
    }
  }
}
.sider__header {
  font-size: 0;

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 64px;
  padding: 0 8px;
  &::before {
    display: inline-block;

    height: 100%;

    content: '';
    vertical-align: middle;
  }
  img {
    width: 40px;

    vertical-align: middle;
  }
  h1 {
    font-size: @font-size-lg;

    display: inline-block;

    margin: 0 0 0 10px;

    vertical-align: middle;

    // color: #fff;
  }
}
.sider__content {
  position: relative;
  height: 100%;

  color: #333;
  // background-color: #fff;
  padding-bottom: 12px;
}
.menu {
  position: relative;
  z-index: 1;
  user-select: none;
  // padding-left: 45px;
  > li {
    overflow: hidden;
    padding: 4px 0;
    cursor: pointer;
    .menu__direction-icon {
      color: #555;
    }
    &:hover {
      .menu__firstMenu {
        // color: #fff;
      }
    }
    &.active {
      .menu__firstMenu {
        color: #fff;
      }
      .menu__direction-icon {
        transition: all .5s;
        transform: rotate(-180deg);
      }
    }
  }
}
.menu__firstMenu {
  font-size: 16px;
  font-family:  "黑体", "SimHei", Arial, sans-serif;
  font-weight: bold;
  line-height: 56px;

  position: relative;
  // height: 54px;

  // padding: 0 40px 0 48px;

  color: #333;
  // background-color: #fff;
  .menu__firstMenu_inner{
  color: #333;
  }
  &.on {
    .menu__firstMenu_inner {
      color: #fff;
      &::before {
        background: url('@img/modify/menu_bg_on.png') no-repeat;
        background-size: 100% 100%;
      }
    }
    .menu__direction-icon {
      color: #a77749 !important;
    }
  }
  &.no-icon {
    .firstmenu__title {
      margin-left: -28px;
    }
  }
}
.firstmenu__title {
  position: relative;
  z-index: 1;
}
.menu__firstMenu_inner {
  position: relative;
  padding: 0 64px;
  &::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    right: 16px;
    background: url('@img/modify/menu_bg.png') no-repeat;
    background-size: 100% 100%;
  }
}
.menu__icon {
  font-size: @font-size-lg;

  position: absolute;
  top: 0;
  left: 24px;

  width: 68px;
  height: 48px;
  padding-left: 18px;
}
.menu__direction {
  font-size: @font-size-base;

  position: absolute;
  top: 0;
  right: 8px;

  height: 56px;
  padding-right: 24px;
}
.sub-menu {
  > li {
    position: relative;
    font-size: 16px;
    padding: 12px 0 12px 64px;
    margin: 4px 0;
    line-height: 26px;
    font-weight: normal;
    color: #555;
    font-family:  "黑体", "SimHei", Arial, sans-serif;
    &.active, &:hover {
      color: #fff;
      &::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 4px;
        right: 16px;
        background: url('@img/modify/menu_bg_hover.png') no-repeat;
        background-size: 100% 100%;
      }
    }
  }
}
.submenu_title {
  position: relative;
  z-index: 1;
}
